from urllib import parse


url = "https://baike.baidu.com/item/刘德华/114923?fr=aladdin#2"
result = parse.urlparse(url)
result1 = parse.urlsplit(url)
print(result)
print(result1)
